<?php include('header.php'); ?>
<div class="wrap">
<?php
$text = $_POST['text'];
$url = post($text);
?>
<h2>Share this link</h2>
<a href="<?php echo $url; ?>"><?php echo $url; ?></a>
<h2>Want to Shorten something else?</h2>
<a href="<?php echo $domain; ?>">Click Here</a>
</div>
<?php include('footer.php'); ?>